package customB.mapper;

import customB.po.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
	List<User> listAllUser();

	@Select("select * from user where id = #{userId,jdbcType=Integer}")
	User getUserById(@Param("userId")String userId);
}
